package edu.ynu.se.xiecheng.achitectureclass.dao;

import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import edu.ynu.se.xiecheng.achitectureclass.entity.User;

import java.util.Optional;


public interface UserDao extends LogicDAO<User, Long> {

    Optional<User> findByUsername(String username);
}
